package WarTug;

import org.newdawn.slick.opengl.Texture;

public class TextureHolder {
	//This will hold all of the textures in the game
	//TODO: Figure out how to tell what frame the units are in
	//TODO: Look at slick's animations

	public static Texture tex;
	
	// Main Menu Textures
	public static Texture textEntryBar;
	public static Texture mainMenuHostButton;
	public static Texture mainMenuJoinButton;
	public static Texture mainMenuBackground;
	
	////////////////////////////////////////////////
	// Join Menu Textures
	public static Texture joinMenuIPTextField;
	public static Texture joinMenuJoinButton;
	public static Texture joinMenuBackground;
	////////////////////////////////////////////////
	
	// Garden Textures
	public static Texture optionsWindowBackground;
	public static Texture tileSelect;
	
	public static Texture tree;
	////////////////////////////////////////////////
	
	public static Texture lion;
	public static Texture dirt;
	public static Texture grass;
	public static Texture gazelle;
	public static Texture elephant;
	public static Texture ostrich;
	
	public static Texture getTexture(UnitType unitType) {
		switch (unitType) {
		case lion:
			return lion;
		case gazelle:
			return gazelle;
		case elephant:
			return elephant;
		case ostrich:
			return ostrich;
		case treeOfLife:
			return tree;
		default:
			return tex;
		}
	}
	
	

}
